def call(String lockFile) {
    script {
        boolean fe = fileExists file: lockFile
        if (fe) {
            content = readFile file: lockFile
            if (content == env.BUILD_VERSION) {
                sh "rm -rf ${lockFile}"
            }
        }
    }
}